$OpenBSD: patch-src_3rdparty_chromium_ui_base_ui_base_gyp,v 1.1.1.1 2016/12/25 14:13:19 zhuk Exp $
--- src/3rdparty/chromium/ui/base/ui_base.gyp.orig.port	Thu Aug  4 14:22:52 2016
+++ src/3rdparty/chromium/ui/base/ui_base.gyp	Thu Aug  4 14:24:54 2016
@@ -399,7 +399,7 @@
             'x/selection_utils.h',
           ]
         }],
-        ['use_aura==0 or OS!="linux"', {
+        ['use_aura==0 or (OS!="linux" and OS!="openbsd")', {
           'sources!': [
             'resource/resource_bundle_auralinux.cc',
           ],
@@ -422,7 +422,7 @@
             '../../build/linux/system.gyp:glib',
           ],
         }],
-        ['desktop_linux == 1 or chromeos == 1', {
+        ['desktop_linux == 1 or os_bsd == 1 or chromeos == 1', {
           'conditions': [
             ['toolkit_views==0 and use_aura==0', {
               # Note: because of gyp predence rules this has to be defined as
@@ -455,7 +455,7 @@
             'clipboard/clipboard_aurax11.cc',
           ],
         }],
-        ['chromeos==1 or (use_aura==1 and OS=="linux" and use_x11==0)', {
+        ['chromeos==1 or (use_aura==1 and (OS=="linux" or os_bsd==1) and use_x11==0)', {
           'sources!': [
             'dragdrop/os_exchange_data_provider_aurax11.cc',
           ],
